import tupian from '@/assets/imgs/aside-img/tupian.png'

import type { RouteRecordRaw } from 'vue-router'

export default <RouteRecordRaw> {
  path: '/img-module',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: '图像',
    icon: tupian,
    index: 1
  },
  children: [{
    path: 'text-to-img',
    component: () => import('@/views/img-module/text-img/index.vue'),
    meta: { title: '文字转图片' }
  }, {
    path: 'mouse-track',
    component: () => import('@/views/img-module/mouse-track/index.vue'),
    meta: { title: '鼠标运动轨迹' }
  }, {
    path: 'particle',
    component: () => import('@/views/img-module/particle/index.vue'),
    meta: { title: '粒子效果' }
  }, {
    path: 'audio-line',
    component: () => import('@/views/img-module/audio-line/index.vue'),
    meta: { title: '音频波形' }
  }]
}